package com.anny.crm.model;

import java.sql.Timestamp;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.springframework.stereotype.Component;



import lombok.AllArgsConstructor;
import lombok.Data;

import lombok.NoArgsConstructor;


/**
 * 咨询师类
 * @author 45203
 *
 */
@Data
@Entity
@Table
@NoArgsConstructor
@AllArgsConstructor
public class AskersModel {
	@Id
	@GeneratedValue(generator = "uuid")
	@GenericGenerator(name = "uuid",strategy = "uuid")
	private String askerId;//咨询师Id
	private String askerName;//咨询师名称
	private String checkState;//签到状态
	private String checkInTime;//签到时间
	private String changeState;//是否分配学生：是，否
	private int weight; //权重
	private String roleName;//角色名称
	
	@Override
	public String toString() {
		return "AskersModel [askerId=" + askerId + ", askerName=" + askerName + ", checkState=" + checkState
				+ ", checkInTime=" + checkInTime + ", changeState=" + changeState + ", weight=" + weight + ", roleName="
				+ roleName + ", bakContent=" + bakContent + "]";
	}

	private String bakContent;//备注信息
}
